<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>好看的下拉菜单</title>
	</head>
	<style>
		body{
			background-color: rgba(32, 128, 240, 0.3);
		}
		.select{
			width: 300px;
			box-sizing: border-box;
		}
		.input{
			line-height: 3px;
			height: 20px;
			outline: none;
			border: 1px solid #409EFF;
			border-radius: 3px;
			padding: 5px;
			color: #606266;
		}
		.input:hover{
			border: 1px solid #F56C6C;
		}
		
		.content{
			width: 300px;
			box-sizing: border-box;
			display: none;
			border-radius: 3px;
			background-color:  #FFFFFF;
			position: relative;
			box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
			margin-top: 10px;
		}
		.content li{
			display: block;
			list-style: none;
			padding: 5px;
			color: #909399;
		}
		.content::before{
			content: '';
			display: block;
			width: 10px;
			height: 10px;
			background-color:  #FFFFFF;
			position: absolute;
			border-color: #e4e7ed #e4e7ed transparent transparent;
			top:-5px;
			left: 11px;
			transform: rotate(45deg);
		}
		.select:hover > .content{
			display: block;
		}
		
		
	</style>
	<body>
		<div class="select">
			<input class="input">
			<div class="content">
				<li>选项一</li>
				<li>选项二</li>
			</div>
		</div>
	
	<script>
		
	</script>	
	</body>
</html>